home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Bus / C / Commander Demo / Commander Demo.rsrc / TEXT_5013_ALL SUBRECORDS.txt < prev    next >
Encoding:
Text File  |  1993-09-07  |  798 b   |  23 lines

  1. ALL¬†SUBRECORDS (subfile)
  2.                                                                                     Pg 44-4
  3.  
  4. subfile         Subfile       Subfile in which to select all subrecords
  5.  
  6.  
  7. ALL SUBRECORDS makes all the subrecords of subfile the current subselection. 
  8.  
  9. If a current parent record does not exist, ALL SUBRECORDS has no effect. When a parent record is first loaded, the subselection contains all subrecords. A subselection may not contain all subrecords after ADD¬†SUBRECORD, SEARCH¬†SUBRECORDS, or DELETE¬†SUBRECORD is executed.
  10.  
  11.  
  12. The following example selects all subrecords to be sure they are included in the sum:
  13.  
  14. ALL SUBRECORDS ([Stats]Sales)
  15. TotalSales := Sum ([Stats]Sales'Dollars)
  16.  
  17.  
  18.  
  19. See also:   ADD¬†SUBRECORD, DELETE¬†SUBRECORD, 
  20.                SEARCH¬†SUBRECORDS, ¬†Sum
  21.  
  22.  
  23.